By pressing the F5 key, you can change the game window size.

1 - 1280x960
2 - 640x480
3 - 1280x960 (environment dependent)
4 - 640x480 (environment dependent)

Environment dependent size changes (especially #4) can cause display issues.
By ending the game, the game window size will be reset to the default size.